package net.kevin.db.mapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import net.kevin.db.model.Table;

public class TableMapper implements RowMapper<Table>{

	@Override
	public Table mapRow(ResultSet rs, int rowNum) throws SQLException {
		Table table = new Table();
		MapperTool.mapper(rs, table);
		return table;
	}
}
